@media (max-width: 1230px) {
    .nav-list {
        display: none;
    }

    .nav-button {
        display: block;
    }

    .nav.open .nav-list{
        display: flex;
        flex-direction: column;
        row-gap: 40px;
        padding: 46px 30px;
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: #fff;
        z-index: 1;
        font-size: 34px;
        font-weight: 600;
    }

    .nav-link {
        color: #828282;
    }

    .nav-link.active {
        color: #000;
    }

    .nav-button {
        position: fixed;
        z-index: 2;
        top: 46px;
        right: 30px;
    }

    .header-nav {
        margin-bottom: 50px;
    }

    .header-row {
        flex-direction: column;
        row-gap: 20px;
    }

    .header-content {
        margin: 0 auto;
        
    }

    .header-img {
        text-align: center;
    }

}

@media (max-width: 700px) {
    .header-heading {
        font-size: 34px;
        line-height: 1.3;
    }

    .header-heading span {
        font-size: 28px;
    }

    .nav-button {
        position: absolute;
    }

    .nav.open .nav-button {
        position: fixed;
    }

    .services {
        padding: 60px 0;
    }

    .services-row {
        flex-direction: column;
        align-items: center;
        row-gap: 30px;
    }

    .works {
        padding: 60px 0;
    }

    .works-title {
        margin-bottom: 50px;
    }

    .project-img {
        margin-bottom: 30px;
    }

    .project + .project {
        margin-top: 55px;
    }

    .contacts {
        padding: 60px 0;
    }

    .contacts-title {
        margin-bottom: 20px;
    }

    .contacts-button {
        margin-bottom: 70px;
    }

    .contacts-social {
        column-gap: 50px;
        margin-bottom: 20px;
    }
}